package org.dlx.drpc.core.client;

public interface IRPCClient
{
    <T> T send(Object payload, Class<T> cla, long ms) throws Exception;

    <T> T send(RPCConn conn, Object payload, Class<T> cla, long ms) throws Exception;

    IRPCClient start() throws Exception;

    IRPCClient close();

    String getAddress();
}
